import Vue from 'vue'
import App from './App.vue'
import router from './router'

//引入css初始化
import './assets/css/base.css';
//引入js适配移动端
// import './assets/js/phone.js';
//引入vant库
import './plugins/vant';
//引入swiper
import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/css/swiper.css'
//使用vantfrom
import { Form } from 'vant';
import { Field } from 'vant';
import { Toast } from 'vant';
//使用自定义插件
import echarts from './plugins/echarts';

Vue.use(Toast);
Vue.use(VueAwesomeSwiper)
Vue.use(Form);
Vue.use(Field);
Vue.use(echarts);
// //中央系统
// import Bus from './utils/event-bus.js';
// Vue.prototype.$bus = Bus;
Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
